<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Mar 11, 2013 12:24:15 AM by Hibernate Tools 3.2.1.GA -->
<hibernate-mapping>
    <class name="com.edu.hre.db.pojo.HreSurveyQuestion" table="hre_survey_question" catalog="hrentry_db">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="identity" />
        </id>
        <property name="text" type="string">
            <column name="text" length="1045" not-null="true" />
        </property>
        <property name="type" type="int">
            <column name="type" not-null="true">
                <comment>1=multi, 2=single</comment>
            </column>
        </property>
        <property name="topicId" type="int">
            <column name="topic_id" not-null="true" />
        </property>
        <property name="dateCreated" type="date">
            <column name="date_created" length="10" />
        </property>
        <property name="dateModified" type="date">
            <column name="date_modified" length="10" />
        </property>
        <property name="rank" type="java.lang.Integer">
            <column name="rank" />
        </property>
    </class>
</hibernate-mapping>
